package com.jwsoft.manager.core.integration;

import com.bifang.assistant.common.vo.BasePageVO;
import com.github.pagehelper.PageInfo;
import com.jwsoft.manager.common.vo.eduFormEnroll.EduFormEnrollVO;
import com.jwsoft.manager.common.vo.eduSchoolConfig.*;

/**
 * 所属学校配置表业务本地接口
 *
 * @author hhj
 * @since 2022-12-21
 */
public interface EduSchoolConfigIntegration {
    /** 分页查询 */
    PageInfo<EduSchoolConfigVO> getList(EduSchoolConfigQueryVO vo);
    /** 根据主键查询详情 */
    EduSchoolConfigVO getById(EduSchoolConfigKeyVO vo);
    /** 保存前统一校验*/
    void checkSave(EduSchoolConfigVO vo);
    /** 新增 */
    EduSchoolConfigVO add(EduSchoolConfigVO vo);
    /** 修改 */
    EduSchoolConfigVO edit(EduSchoolConfigVO vo);
    /** 根据主键删除 */
    void del(EduSchoolConfigKeyVO vo);

    void copyLastYearConfig(SchoolConfigSaveVO vo);

    void stopNurseryRecruit(EduSchoolConfigKeyVO vo);

    void recoverNurseryRecruit(EduSchoolConfigRecruitVO vo);

    SchoolConfigQueryVO getEnrollStartTime(BasePageVO vo);

    SchoolConfigQueryVO getAgeTime(SchoolConfigQueryVO vo);

    PageInfo<SchoolConfigVO> getYwSchoolConfigInfo(SchoolConfigQueryVO vo);

    void saveYwSchoolConfigInfo(SchoolConfigSaveVO vo);

    void updateYwSchoolConfigInfo(SchoolConfigSaveVO vo);

    //提交审核
    void tjAudit(SchoolConfigQueryVO vo);

    void auditYwSchoolConfig(SchoolConfigSaveVO vo);

    void stopYwSchoolRecruit(SchoolConfigSaveVO vo);

    void rejectSchoolConfig(SchoolConfigSaveVO vo);

}
